package cli

import (
	"blockchaingo/block"
)

//打印区块链上所有区块数据
func (cli *CLI) PrintChain() {
	bc := block.NewBlockChain("test")
	defer block.Close(bc)

	bc.Print()
}
